home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1997
/
HAM Radio 1997.iso
/
vcls
/
srctt26
/
presetun.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-04-08
|
856b
|
47 lines
unit Presetun;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, Mask, ExtCtrls, SysUtils;
type
TBtnRightDlg = class(TForm)
OKBtn: TBitBtn;
CancelBtn: TBitBtn;
Bevel1: TBevel;
MaskEdit1: TMaskEdit;
MaskEdit2: TMaskEdit;
MaskEdit3: TMaskEdit;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
procedure OKBtnClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
BtnRightDlg: TBtnRightDlg;
Hrs : Word;
Mins, Secs : Byte;
implementation
{$R *.DFM}
procedure TBtnRightDlg.OKBtnClick(Sender: TObject);
begin
Hrs := StrToInt (MaskEdit1.Text);
Mins := StrToInt (MaskEdit2.Text);
Secs := StrToInt (MaskEdit3.Text);
end;
end.